export default{
  data(){
    return {
      collapseActiveName:'1',
      collapseTitle: '点击关闭搜索',
    }
  },
  methods:{
    handleMessage(res){
      if(res.code === '200'){
        this.$message.success('处理成功')
      }else{
        this.$message.error(res.message||'处理失败')
      }
    },
    handleCollapseChange(val) {
      if (val && val.length > 0) {
        this.collapseTitle = '点击关闭搜索'
      } else {
        this.collapseTitle = '点击展开搜索'
      }
    },
  }
}

